﻿namespace ApplicationBase.Core.Model
{
    public class PageInfo
    {
        public int Index { get; set; } = 1;
        public int Size { get; set; } = 10;

        public int GetStartIndex()
        {
            return (Index - 1) * Size;
        }
    }
}
